package com.edu.model;

import java.io.Serializable;
import java.util.Date;

public class EventDefine implements Serializable {

    private String eventId;

    private String eventName;

    private Integer version;

    private Date createTime;

    private Date updateTime;

    private String lines;

    private String action;

    /**
     * 服务部署状态变化
     * 0：开发中，显示发布（不可点）
     * 1：编译完成，显示发布
     * 2：运行中，显示停止
     * 3：停止，显示启动
     * 4：运行中（有改动），显示运行中（有新版本）
     * 5：删除
     * <p>
     * 0-->1：保存
     * 1-->2：部署
     * 2-->3：停止
     * 3-->1：保存
     * 2-->4：保存
     * 4-->2：部署
     * <p>
     */
    private Integer status;

    /**
     * 0：是openfaas
     */
    private Integer implType;

    public String getEventId() {
        return eventId;
    }

    public void setEventId(String eventId) {
        this.eventId = eventId;
    }

    public String getEventName() {
        return eventName;
    }

    public void setEventName(String eventName) {
        this.eventName = eventName;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getLines() {
        return lines;
    }

    public void setLines(String lines) {
        this.lines = lines;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getImplType() {
        return implType;
    }

    public void setImplType(Integer implType) {
        this.implType = implType;
    }
}
